<header class="main-header">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <a class="branding" href="/" title="雨晴抑郁症生活"><img src="__STATIC__/cms/img/logo.png" width="80" alt="雨晴抑郁症生活"></a>
            </div>
        </div>
    </div>
</header>
<nav class="main-navigation navbar navbar-default boxtop">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">雨晴抑郁症生活</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="{if $menu == 'index'}active{/if}"><a href="/">首页</a></li>
<!--                <li class="{if $menu == 'community'}active{/if}"><a href="{:url('cms/community/index')}" target="_blank">虚拟社区</a></li>-->
                <li class="{if $menu == 'yiluqianxing'}active{/if}"><a href="{:url('/yiluqianxing')}">抑路前行</a></li>
<!--                <li class="{if $menu == 'onelife'}active{/if}"><a href="{:url('cms/onestoryonlife/index')}">一生一个故事</a></li>-->
            </ul>
        </div>
    </div>
</nav>
